package com.ruoyi.exam.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.exam.domain.ExamQuestionOption;
import com.ruoyi.exam.vo.ExamQuestionOptionVo;

import java.util.List;

/**
 * 题目选项Service接口
 *
 * @author Tellsea
 * @date 2025-05-30
 */
public interface IExamQuestionOptionService extends IService<ExamQuestionOption> {

    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    TableDataInfo<ExamQuestionOptionVo> queryList(ExamQuestionOptionVo entity);

    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<ExamQuestionOptionVo> queryAll(ExamQuestionOptionVo entity);

    /**
     * 根据ID查询
     *
     * @param optionId
     * @return
     */
    ExamQuestionOptionVo queryById(Long optionId);

    boolean save(ExamQuestionOptionVo entity);
}
